﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MVC_Project.Model;
using MVC_Project.Dal.Systems;

namespace MVC_Project.Bll.Systems
{
    public class ImagesBll : BaseBll<Images>
    {
        public override void SetDal()
        {
            Dal = new ImagesDal();
        }

        public Images Insert(Images img)
        {
            var image = (Dal as ImagesDal).Insert(img);
            Dal.SaveChanges();
            return image;
        }
    }
}
